﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<SuperStarProject.Models.ProductModel>>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>HotProduct</title>
</head>
<body>
      <div class="title"><span class="title_icon"><img src="/Content/images/bullet2.gif" alt="" title="" /></span>Sản phẩm mới</div>      
           <div class="new_products">
                  <% foreach (var item in Model)
                     { %>
                    <div class="new_prod_box">
                        <%= Html.ActionLink(item.TenSP, "ViewDetails", new {productId = item.MaSP}) %>
                        <div class="new_prod_bg">
                        <span class="new_icon"><img src="/Content/images/new_icon.gif" alt="" title="" /></span>
                        <a href="<%= Url.Action("ViewDetails", new {productId = item.MaSP})%>"><img src="<%= item.HinhAnh%>" alt="Ảnh sản phẩm" title="Ảnh sản phẩm" class="thumb" border="0" height="100px" width="100px" /></a>
                                                
                        </div>           
                    </div>
                <%} %>
            </div> 
            <div class="clear"> </div> 

</body>
</html>

